<?php
$hostdb = "localhost";
$userdb = "root";
$passdb = "root";
$namedb = "inet";

$conn = mysql_connect($hostdb,$userdb,$passdb);
if(!$conn)
{
	die('Khong the ket noi duoc CSDL: '.mysql_error());
}

mysql_select_db($namedb,$conn);
?>